home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Freeware / Adobe Air 1.5 / AdobeAIRInstaller.exe / setup.swf / scripts / mx / events / ResizeEvent.as < prev    next >
Encoding:
Text File  |  2008-10-29  |  820 b   |  32 lines

  1. package mx.events
  2. {
  3.    import flash.events.Event;
  4.    import mx.core.mx_internal;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class ResizeEvent extends Event
  9.    {
  10.       mx_internal static const VERSION:String = "3.0.0.0";
  11.       
  12.       public static const RESIZE:String = "resize";
  13.       
  14.       public var oldHeight:Number;
  15.       
  16.       public var oldWidth:Number;
  17.       
  18.       public function ResizeEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:Number = NaN, param5:Number = NaN)
  19.       {
  20.          super(param1,param2,param3);
  21.          this.oldWidth = param4;
  22.          this.oldHeight = param5;
  23.       }
  24.       
  25.       override public function clone() : Event
  26.       {
  27.          return new ResizeEvent(type,bubbles,cancelable,oldWidth,oldHeight);
  28.       }
  29.    }
  30. }
  31.  
  32.